package com.nbufe.observer.demo1;

/**
 * @Author Zan
 * @Create 2024/5/27 8:25
 * @ClassName: TeamFormationAlliance
 * @Description : TODO 请用一句话描述该类的功能
 */
public interface TeamFormationAlliance {

    public void addObserver(Observer observer);

    public void delObserver(Observer observer);

    /**
     * 联盟发布方法
     * @param name
     */
    public void notify(String name);
}
